I want to make sure I can correlate statements with the connection I have a handle to and not a wrapped connection.
我想确保自己能够把语句与我拥有句柄的连接关联起来,而不是与包装的连接关联起来。
As I noted earlier, I don't want to rely on the getConnection method of the statement because it could refer to a wrapped connection for which I don't have metadata.
正如前面提示过的,我不想依赖这条语句的 getConnection 方法,因为它会引用一个包装过的连接,而我没有这个连接的元数据。
The real connection is then wrapped in a WrappingJDBCConnection and returned to the requesting application.
然后这个真正的连接被包装在WrappingJDBCConnection中,返回给请求应用程序。
应用推荐